package com.azzcs.juc.demo2;

/**
 * @Author: wzg
 * @Date: 2021/6/15 上午11:00
 */
public class T1 extends Thread {
    @Override
    public void run() {
        Thread t2 = new T2();
        t2.setDaemon(true);
        t2.start();
        for (int i = 0; i < 3; i++) {
            System.out.println("t1 执行...");
        }
        System.out.println("t1 结束了...");
    }
}
